import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// import axios from 'axios'


//引入自定义全局组件
import './components/index.js'
// 引入全局组件
import './filter/index.js'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);


import http from './axios.js'
Vue.prototype.$http = http
Vue.prototype.$host = 'http://localhost:3000'

Vue.config.productionTip = false


  new Vue({
    router,
    store,
    render: h => h(App)
  }).$mount('#app')
